package demo5;

public class Main {
    public static void main(String[] args) {
        try {
            System.out.println("程序开始");
            chu(10,0);
        } catch (Exception e) {
            e.printStackTrace();
        }
        System.out.println("程序结束");
    }

    public static void chu(int x,int y){
        System.out.println("X:"+x);
        System.out.println("Y:"+y);
        int c = x/y;
        System.out.println("X/Y = "+c);
    }
}
